package com.zhao;


import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;


/**
 * @ClassName:DeptConsumer_80
 * @author:赵培舒
 * @date:Created in 2021/4/18 16:47
 * @Email:stevezhao@nyist.edu.cn
 * @description:消费者主程序
 * @version:1.0
 */
//RIbbon和Eureka整合后，客服端可以直接使用，不关心IP地址和端口号
@SpringBootApplication
@EnableEurekaClient
@EnableFeignClients(basePackages = {"com.zhao"})
@ComponentScan("com.zhao")
public class FeignDeptConsumer_80 {
    public static void main(String[] args) {
        SpringApplication.run(FeignDeptConsumer_80.class,args);
    }
}
